body * {
  box-sizing: border-box;
  flex-shrink: 0;
}

@font-face {
  // font-family: SourceHanSansCN-Normal;
  // src: url('https://shop-z4-1322296747.cos.ap-nanjing.myqcloud.com/SourceHanSansCN-Normal.otf?q-sign-algorithm=sha1&q-ak=AKIDk5wJeNeNi86Zy6vNHQRSQak0r346a6IQjS5jwOA4yK_tGDFeiQmVvaR0RJeJNywF&q-sign-time=1715829861;1715833461&q-key-time=1715829861;1715833461&q-header-list=host&q-url-param-list=&q-signature=67f4d51bcfb185b19dc4131b5be80d02e9fa6352&x-cos-security-token=Nd5hnp0Q2cOGkvJRAPNjtiskn3L9nyQaa2bf5876a9ff815426f896f0f011715csNSD1xZSU1Bvq5qMbeMzLpgbiEmNY91cIPuMfod5JzLMvGdClP6UhEd94g5PzoFZidzZdmRt0zvMYmW0UBgnEOOXZFh84zlQbjhZDKecvJtvZvIHfIy7hcCW4b_Bds-uEDlCUjkigix4WTf6vrorKkwKrcoNKQFObv9BDg015twXFhamF0GGoC4DJyKhSu-f');
}

@font-face {
  // font-family: SourceHanSansCN-Medium;
  // src: url('https://shop-z4-1322296747.cos.ap-nanjing.myqcloud.com/SourceHanSansCN-Medium.otf?q-sign-algorithm=sha1&q-ak=AKID7Ox-fjOp1AI_66oMTzz7-zFEf8tK9DwlfzBki7Rc78WDT0sbJm-Zkq8vRZPfT3ba&q-sign-time=1715829845;1715833445&q-key-time=1715829845;1715833445&q-header-list=host&q-url-param-list=&q-signature=582fd66c84804fd412cd02a10e047d71b8f9f97c&x-cos-security-token=2dOBwUObNSLpRMqKnT3tJUJJSm0VS9Yaa7ae8b7097059a8b5b5a0f2303d42c24T-JLGxcrX7lTjytBa8mA5Tgtv3hrzZ4kX4mNd0Bd5tlfOPPviY__NQZwWVCL_ilpsKiFI74Vv9o2qELRxPT-va5dggWyhj35alRhVu8gDHbLicPyIl2BzGPU_iVYqjxc-zpepkslvKGlPRM28z4nqXC5DTUORVyyYHk3pF29xfDfoegc_5adGNaq8-Xs7CI5');
}

@font-face {
  // font-family: SourceHanSansCN-Bold;
    // src: url('https://shop-z4-1322296747.cos.ap-nanjing.myqcloud.com/SourceHanSansCN-Bold.otf?q-sign-algorithm=sha1&q-ak=AKIDS1mmU3_a_gZrLd6fjA__Sti4dLqEY3J18lnBkAk5446loZJ9Z3G6k-ZxM82I_sGS&q-sign-time=1715829827;1715833427&q-key-time=1715829827;1715833427&q-header-list=host&q-url-param-list=&q-signature=15200c76e113b5036f0a8a7563b6fc0008bcb0d4&x-cos-security-token=Nd5hnp0Q2cOGkvJRAPNjtiskn3L9nyQa3a46d9e1bff023291ee1f2be40ab80cfsNSD1xZSU1Bvq5qMbeMzLi2zlSOKm28KVGAHtFM2SgvMU4Ct-ywOQmBzER9DQRo562T93Cd47zvvHqhquV9zaEvnfsr36mECCDYpv80X9inkxnFgmCk1TLJYRt0tvQFWDCBgHxurao_TTc1M14LMxd_-yvdhQp56M2pcLHwQsKrTTGXzpjqfCc3TQtxhQf2Z');
}

.cn-normal {
  // font-family: SourceHanSansCN-Normal;
}

.cn-medium {
  // font-family: SourceHanSansCN-Medium;
}

.cn-bold {
  // font-family: SourceHanSansCN-Bold;
}

@font-face {
  font-family: Montserrat-Regular;
  src: url('./font/Montserrat-Regular.ttf');
}

@font-face {
  font-family: Montserrat-Medium;
  src: url('./font/Montserrat-Medium.ttf');
}

@font-face {
  font-family: Montserrat-SemiBold;
  src: url('./font/Montserrat-SemiBold.ttf');
}

.d-regular {
  font-family: Montserrat-Regular;
}

.d-medium {
  font-family: Montserrat-Medium;
}

.d-bold {
  font-family: Montserrat-SemiBold;
}

body {
  // font-family: SourceHanSansCN-Normal, PingFangSC-Regular, '黑体';
}

.use:active {
  opacity: 0.7;
  cursor: pointer;
}

.fill {
  flex: 1;
  overflow: hidden;
}

.card {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 20px 0 rgb(0 0 0 / 2%);
}

.ant-picker {
  width: 100%;
}

.ant-input {
  flex: 1;
}

.f-body {
  padding: 24px 0;
}

.required {
  content: '*';
  display: inline-block;
  margin-inline-end: 4px;
  color: #ed6f6f;
  font-family: SimSun, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.must {
  color: #ed6f6f;
  font-weight: bold;
}

.tri-symbol {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  transform: rotate(45deg) translateX(46px) translateY(8px);
  background-color: #f5f7fa;
}

.tri-checked {
  position: absolute;
  z-index: 4;
  right: 1px;
  bottom: 1px;
  color: #fff;
  font-size: 12px;
}

.tri-active {
  .tri-symbol {
    background-color: @primary-color;
  }
}

.tri-symbol-2 {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  transform: rotate(45deg) translateX(22px) translateY(0);
  background-color: #f5f7fa;
}

.tri-checked-2 {
  position: absolute;
  z-index: 4;
  right: -1px;
  bottom: -1px;
  color: #fff;
  font-size: 11px;
}

.tri-active-2 {
  .tri-symbol-2 {
    background-color: @primary-color;
  }
}

.tri-symbol-3 {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-top-left-radius: 8px;
  // transform: rotate(45deg) translateX(22px) translateY(0px);
  background-color: #f5f7fa;
}

.tri-checked-3 {
  position: absolute;
  z-index: 4;
  right: 1px;
  bottom: -2px;
  color: #fff;
  font-size: 8px;
}

.tri-active-3 {
  background-color: rgb(255 223 231 / 30%);

  .tri-symbol-3 {
    background-color: @primary-color;
  }
}

.p-line-bg {
  background-color: #ffdfe7;
}

.tp {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  // height: 100vh;
}

.cp {
  padding: 16px 0;
}

.f-label {
  color: #666;
}

.f-value {
  color: #333;
}

.f-tag {
  display: inline-block;
  width: auto;
  padding: 3px 8px;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
}

.empty {
  color: #666;
  text-align: center;
}

.f-hint {
  color: #999;
  font-size: 12px;
}

.ant-empty-description {
  color: #999;
}

.card-tabs {
  .ant-tabs-nav {
    &::before {
      border-bottom: none !important;
    }
  }

  .ant-tabs-nav-list {
    border: 1px solid rgb(5 5 5 / 6%);
    border-radius: 8px;
  }

  .ant-tabs-tab {
    margin-left: 0 !important;
    padding: 6px 24px !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;

    .ant-tabs-tab-btn {
      font-weight: 400;
    }

    &.ant-tabs-tab-active {
      border-radius: 8px !important;
      background-color: @primary-color !important;

      .ant-tabs-tab-btn {
        color: white !important;
      }
    }
  }
}

.checkbox-circle {
  .ant-checkbox {
    border-radius: 50%;
    overflow: hidden;
  }

  &.ant-checkbox-wrapper {
    .ant-checkbox-inner {
      border-radius: 50%;
      overflow: hidden;
    }
  }
  
  &.ant-checkbox-wrapper-checked:hover {
    .ant-checkbox-inner {
      border-radius: 50%;
      overflow: hidden;
    }
  }
}
